package com.example.script.mapper;

import com.example.script.model.ScriptType;
import com.example.script.model.ScriptTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ScriptTypeMapper {
    long countByExample(ScriptTypeExample example);

    int deleteByExample(ScriptTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ScriptType record);

    int insertSelective(ScriptType record);

    List<ScriptType> selectByExample(ScriptTypeExample example);

    ScriptType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ScriptType record, @Param("example") ScriptTypeExample example);

    int updateByExample(@Param("record") ScriptType record, @Param("example") ScriptTypeExample example);

    int updateByPrimaryKeySelective(ScriptType record);

    int updateByPrimaryKey(ScriptType record);
}